package com.basic.business.goodsLabel.mapper;

import com.basic.business.goodsLabel.domain.TGoodsLabel;
import com.basic.common.core.mapper.BaseMapper;

import java.util.List;

/**
 * 商品标签管理Mapper接口
 *
 * @author zhaoxy_jn@163.com
 */
public interface TGoodsLabelMapper extends BaseMapper<TGoodsLabel> {

    /**
     * 保存或更新
     * @param tGoodsLabel
     * @return
     */
    int saveOrUpdate(TGoodsLabel tGoodsLabel);

    /**
     * 批量保存数据
     *
     * @param list
     * @return
     */
    int saveBatch(List<TGoodsLabel> list);


    /**
     * 获取昨日上传数据
     * @return
     */
    List<TGoodsLabel> getYesterDayList();
}
